<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8"/>
		<title>WhatsNearby, a useful plugin</title>
		<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css">
		<script src="js/es5-shim.min.js" type="text/javascript"></script>
		<script src="js/es5-sham.min.js" type="text/javascript"></script>
		<script src="http://ajax.useso.com/ajax/libs/jquery/1.10.2/jquery.min.js" type="text/javascript"></script>
		<script src="http://maps.google.cn/maps/api/js?v=3.exp&sensor=false&libraries=places"></script>
		<script src="js/WhatsNearby.js" type="text/javascript"></script>
		<script type="text/javascript">
			$(document).ready(function(){
				

				$("#wn2").whatsnearby({ 
					zoom:13,
					width:"100%",
					address: "北京",
					placesRadius: 5000,
					placesTypes: ['restaurant']
					//, 'cafe', 'gym' ]
				});
				
				
				
				//http://ditu.google.com/maps/api/geocode/json?latlng=40.714224,-73.961452&sensor=false&&language=zh-CN
				
			
			});
		</script>
	</head>
	<body>
		<div class="container">
			
			<h2></h2>
			<div class="well">
				<div id="wn2"></div>
			</div>
			
		</div>
	</body>
</html>